4D Chart v13CT GET DOCUMENT SIZE |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D Chart v13
CT GET DOCUMENT SIZE
|
CT GET DOCUMENT SIZE ( area ; width ; height ) | ||||||||
Parameter | Type | Description | ||||||
area | Longint |
![]() |
4D Chart area | |||||
width | Real |
![]() |
Receives width of the document (in points) | |||||
height | Real |
![]() |
Receives height of the document (in points) | |||||
The CT GET DOCUMENT SIZE command returns the size of the document area. A 4D Chart document can measure up to 3500 x 3500 points.
width is the width of the document area in points.
height is the height of the document area in points.
This example uses the CT GET DOCUMENT SIZE command to get the current document size before changing it.
CT GET DOCUMENT SIZE(Area;$Width;$Height)
If($Width<2208)
CT SET DOCUMENT SIZE(Area;2208;730)
End if
Product: 4D Chart
Theme: CT Area Control
Number:
14605
Created: 4D Chart 1